<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>站点修改</title>
<jsp:include page="../include.jsp" />
</head>
<body class="input">
<div class="bar">站点修改</div>
<div id="validateErrorContainer" class="validateErrorContainer">
<ul></ul>
</div>
<div class="body">
<form id="validateForm" class="form" action="update.do" method="post">
<input type="hidden" value="${bo.site_id}" name="site_id"/>
<table class="inputTable tabContent">
	<tr>
		<th><label class="requireField">*</label>站点名称:</th>
		<td><input type="text" name="site_name" maxlength="100"
			class="formText" value="${bo.site_name}"/></td>
		<th><label class="requireField">*</label>站点简称:</th>
		<td><input type="text" name="short_name" class="formText"
			maxlength="100" value="${bo.short_name}"/></td>
	</tr>
	<tr>
		<th><label class="requireField">*</label>域名:</th>
		<td><input type="text" name="domain" class="formText"
			maxlength="100" value="${bo.domain}"/></td>
		<th><label class="requireField">*</label>路径:</th>
		<td><input type="text" name="site_path" class="formText"
			maxlength="100" value="${bo.site_path}"/></td>
	</tr>
	<tr>
		<th><label class="requireField">*</label>访问协议:</th>
		<td>
			<select name="protocol">
				<option value="http"<c:if test="${bo.protocol eq 'http'}"> selected="selected"</c:if>>http://</option>
				<option value="https"<c:if test="${bo.protocol eq 'https'}"> selected="selected"</c:if>>https://</option>
			</select>
		</td>
		<th><label class="requireField">*</label>静态页存放目录:</th>
		<td><input type="text" name="static_dir" class="formText"
			maxlength="100" value="${bo.static_dir}"/></td>
	</tr>
	<tr>
		<th><label class="requireField">*</label>静态页后缀:</th>
		<td>
			<select name="static_suffix">
				<option value="html"<c:if test="${bo.static_suffix eq 'html'}"> selected="selected"</c:if>>html</option>
				<option value="htmlx"<c:if test="${bo.static_suffix eq 'htmlx'}"> selected="selected"</c:if>>htmlx</option>
			</select>
		</td>
		<th><label class="requireField">*</label>动态页后缀:</th>
		<td>
			<select name="dynamic_suffix">
				<option value="jsp"<c:if test="${bo.dynamic_suffix eq 'jsp'}"> selected="selected"</c:if>>jsp</option>
				<option value="jspx"<c:if test="${bo.dynamic_suffix eq 'jspx'}"> selected="selected"</c:if>>jspx</option>
			</select>
		</td>
	</tr>
</table>
<div class="buttonArea"><input type="submit" class="formButton"
	value="修 改" hidefocus />&nbsp;&nbsp; <input type="button"
	class="formButton" onclick="window.history.back(); return false;"
	value="返  回" hidefocus /></div>
</form>
</div>
</body>
</html>